package com.copa.module.order.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author copa
 * @createDate 2021-02-06 13:49
 * @function
 */
@Data
public class OrderLogDto {

    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @ApiModelProperty(value = "子订单编号")
    private String orderGoodsId;

    @ApiModelProperty(value = "订单日志")
    private String message;

    @ApiModelProperty(value = "订单修改后状态")
    private Integer orderStatus;

    @ApiModelProperty(value = "子订单修改后状态")
    private Integer subOrderStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime logTime;
}
